package com.xwd.service.impl;

import com.xwd.dao.EmpDao;
import com.xwd.dao.impl.EmpDaoImpl;
import com.xwd.pojo.Emp;
import com.xwd.service.EmpService;

import java.util.List;

/**
 * @ClassName EmpServiceImpl
 * @Description: com.com.xwd.service.impl
 * @Auther: xiwd
 * @Date: 2022/2/7 - 02 - 07 - 19:05
 * @version: 1.0
 */
public class EmpServiceImpl implements EmpService {
    //properties
    private static EmpDao empDao=new EmpDaoImpl();

    //methods
    @Override
    public List<Emp> findAll() {
        return empDao.findAll();
    }
}
